package com.tjnu.losca.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.tjnu.losca.pojo.Goods;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author losca
 * @since 2022-02-13
 */
public interface IGoodsService extends IService<Goods> {

      IPage list(int pageNum, int pageSize, String search);

      boolean del(String goodId);

      boolean rec(String goodId);

      boolean mulDel(String[] ids);

      boolean update(Goods goods);

}
